package close.mazegame.input;

import close.mazegame.Debug;
import close.mazegame.InputHandler;

import com.badlogic.gdx.InputProcessor;
import com.badlogic.gdx.Input.Keys;

public class MiscInput implements InputProcessor {
	
	public MiscInput() {
		InputHandler.addInputProcessor(this);
	}

	@Override
	public boolean keyDown(int keycode) {
		if(keycode == Keys.F3){
			Debug.toggleFPS();
		}
		
		if(keycode == Keys.F4){
			Debug.toggleBox2DDebug();
		}
		
		if(keycode == Keys.F5){
			Debug.toggleForceLight();
		}
		
		if (keycode == Keys.F6) {
			Debug.printInfo();
		}
		
		return false;
	}

	@Override
	public boolean keyUp(int keycode) {
		return false;
	}

	@Override
	public boolean keyTyped(char character) {
		return false;
	}

	@Override
	public boolean touchDown(int screenX, int screenY, int pointer, int button) {
		return false;
	}

	@Override
	public boolean touchUp(int screenX, int screenY, int pointer, int button) {
		return false;
	}

	@Override
	public boolean touchDragged(int screenX, int screenY, int pointer) {
		return false;
	}

	@Override
	public boolean mouseMoved(int screenX, int screenY) {
		return false;
	}

	@Override
	public boolean scrolled(int amount) {
		return false;
	}

}
